<html>
<head>
    <link rel="icon" type="image/gif" href="<?php echo base_url(); ?>favicon.gif">
    <link href="<?php echo base_url(); ?>css/default.css" type="text/css" rel="stylesheet" />
	<link href="<?php echo base_url(); ?>css/content.css" type="text/css" rel="stylesheet" /> 		
        <title> 
        <?php 
        if(!isset ($title))
            echo 'Buzz+ - Phim Youtube - Best Audio Collection - Manga';
        else
            echo 'Buzz+ - ' . $title;
        ?>
        </title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <?php
            if(isset($meta))
                echo $meta;
        ?>
    <script type="text/javascript">
        function checkComment(){
            temp=document.getElementById('name').value.replace(/ /gi, '');
            if(temp==''){
                document.getElementById('mess').innerHTML='Hãy nhập tên';
                document.getElementById('name').innerHTML=temp;
                document.getElementById('name').focus();
                return false;
            }
            if(!check_email('email', 'mess')) return false;
            temp=document.getElementById('message').value.replace(/ /gi, '');
            if(temp==''){
                document.getElementById('mess').innerHTML='Nội dung bạn muốn gửi đến chúng tôi?';
                document.getElementById('message').innerHTML=temp;
                document.getElementById('message').focus();
                return false;
            }
            return true;
        }
        function check_email(email_id,err_id){
            emailRegExp = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.([a-z]){2,4})$/;
            var err_mail='Email không đúng!!';
            if(emailRegExp.test(document.getElementById(email_id).value)) return true;
            else{
                document.getElementById(err_id).innerHTML=err_mail;
                document.getElementById(email_id).focus();
                return false;
            }
        }
    </script>
</head>
<body id="video">
    <div id="top_bg">

	<!-- background -->
		<div id="main_bg">
                    
			<!--banner-->
			<div id="banner"></div>
			<!-- end banner -->
			
			<!-- menu -->
			<div id="main_menu">
                <ul id='nav'>
                    <li><a href="<?php echo base_url(); ?>">Trang chủ</a></li>
                    <li><a href="<?php echo base_url(); ?>about.html">Giới thiệu</a></li>
                    <li><a href="<?php echo base_url(); ?>video.html">Video</a></li>
                    <li><a href="<?php echo base_url(); ?>audio.html">Audio</a></li>
                    <li><a href="<?php echo base_url(); ?>forums/">Forum</a></li>
                    <li><a class="active" href="<?php echo base_url(); ?>contact.html">Liên hệ</a></li>
                </ul>
				<!-- <div id="l_menu"></div>
				<div id="m_menu"></div>
				<div id="r_menu"></div> -->
			</div>
			<!-- end menu -->
            <div id="wrapper">
                <span class="ct-title"><img src="<?php echo base_url();?>images/contact.gif" alt=""></span>
                <div class="wr-contact">
                <div class="ct-left">
                    Mọi chi tiết liên hệ với chúng tôi:<br>
                    Kỹ thuật: <a href="ymsgr:sendim?ranger_ht"><img src="http://opi.yahoo.com/online?u=ranger_ht&m=g&t=2" border=0></a>
                    hoặc email: <a href="mailto:ranger.ht@gmail.com">ranger.ht@gmail.com</a><br>
                    Thiết kế: <a href="ymsgr:sendim?design.buzzplus"><img src="http://opi.yahoo.com/online?u=ranger_ht&m=g&t=2" border=0></a>
                    hoặc email: <a href="mailto:design.buzzplus@gmail.com">design.buzzplus@gmail.com</a>
                </div>
                <div class="ct-right">
                    <span><?php echo $site_message; ?></span>
                    <span id="mess" style="color: #e13300;"></span>
                    <form action="" method="post">
                        <label>Tên:</label><br>
                        <input type="text" size="30" name="name" id="name" /><br>
                        <label>Email:</label><br>
                        <input type="text" size="30" name="email" id="email" /><br>
                        <label>Tin nhắn:</label><br>
                        <textarea rows="7" cols="50" name="message"></textarea><br>
                        <input type="submit" name="send" value="Gửi" onclick="return checkComment();"/>
                    </form>
                </div>
                </div>
            </div><!-- end wrapper -->
			<!-- footer -->			<!-- footer -->
			<!-- footer -->
        </div>
        <!-- end background -->
        <!-- footer -->
        <div id="footer">
            <div class="mn-ft">
                <div class="mn">
                 <span><a href="<?php echo base_url(); ?>">Trang chủ</a></span>
                 <span><a href="<?php echo base_url(); ?>about.html">Giới thiệu</a></span>
                 <span><a href="<?php echo base_url(); ?>video.html">Video</a></span>
                 <span><a href="<?php echo base_url(); ?>audio.html">Audio</a></span>
                 <span><a href="<?php echo base_url(); ?>forums/">Forum</a></span>
                 <span><a href="<?php echo base_url(); ?>contact.html">Liên hệ</a></span>
                </div>
            </div>
            <div class="status">
                <span>Số lượt truy cập: <?php echo $hitCounter; ?> </span><br/>
                <span>Đang truy cập: <?php echo $online; ?> </span><br/>
            </div>
            <div class="cpr">Copyright @2011 by Bìm Bịp - Sói<br></div>
        </div>
		<!-- end footer -->
   </div>
</body>
</html>